package la.bbs558.service;

import com.baomidou.mybatisplus.extension.service.IService;
import la.bbs558.entity.AdContent;
import la.bbs558.entity.params.AdContentSearchPage;

import java.util.List;

public interface AdContentService extends IService<AdContent> {
    List<AdContent> getAdsByPosition(Integer position, Long boardId);

    void deleteAdContentForAdmin(Long id);

    void addAdContentForAdmin(AdContent adContent);

    void selectAdContentPageForAdmin(AdContentSearchPage searchPage);
    void updateAdContentForAdmin(AdContent adContent);
}
